package com.dog.basics.bean.dto.admin.mtkj;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.Max;
import javax.validation.constraints.Min;
import javax.validation.constraints.NotNull;

/**
 * <p>
 * 提现记录
 * </p>
 *
 * @author wph
 * @since 2020-11-09
 */
@Data
public class CashWithdrawalEditDto {

    @NotNull(message = "id不能为空")
    @ApiModelProperty(value = "id", dataType = "Long", required = true)
    private Long id;

    /**
     * 状态: 0-待审核 1-不通过 2-审核通过
     */
    @NotNull(message = "状态: 1-不通过 2-审核通过不能为空")
    @ApiModelProperty(value = "状态:1-不通过 2-审核通过", dataType = "Integer", required = true)
    @Min(value = 1, message = "状态只能是:( 1-不通过 2-审核通过)")
    @Max(value = 2, message = "状态只能是:(1-不通过 2-审核通过)")
    private Integer auditStatus;

}
